package example.mapper;

import example.entity.TaskList;

import java.util.List;

public interface TaskListMapper {
    void saveTask(TaskList taskList);

    void cancelSecondment(TaskList taskList);

    void confirmTime(TaskList taskList);

    void updateSencondmentStateBySecondmentId(TaskList taskList);

    void updateSencondmentStateBySecondmentIdAndDepartmentId(TaskList taskList);

    TaskList getPastTask(TaskList taskList);

    TaskList getNowTask(TaskList task);

    List<TaskList> countTime(String userId);

    String getEndTime(TaskList ta);

    public TaskList selectTaskListById(Long id);


    public List<TaskList> selectTaskListList(TaskList taskList);


    public int insertTaskList(TaskList taskList);

    public int updateTaskList(TaskList taskList);


    public int deleteTaskListById(Long id);

    public int deleteTaskListByIds(Long[] ids);
}
